﻿@model Domain.Entities.Product

<div class="item">
    <h3>@Model.Name</h3>
    @Model.Description

    @using (@Html.BeginForm("AddToCart","Cart")) { 
        @Html.HiddenFor(x => x.ProductID)
        @Html.Hidden("returnURL",Request.Url.PathAndQuery)
        <input type="submit" value="+ Add to cart" />
    }

    <h4>@Model.Price.ToString("c")</h4>
</div>
